package com.hsogoo.study.externalizedconfiguration.bean;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;

/**
 * @Author huangsaigang
 * Created @2019-09-29.
 */
@Data
@ToString
public class Person {

//    @Value("${user.name}")
    @Value("${person.name}")
    private String name;
    @Value("${person.age}")
    private Integer age;

}
